package chess;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import chess.view.ChessBoard;
import chess.view.Konzole;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.addStandaloneView(ChessBoard.ID, true,
				IPageLayout.TOP, 0.7f, layout.getEditorArea());
		layout.addStandaloneView(Konzole.ID, false, IPageLayout.BOTTOM, 0.3f, layout.getEditorArea());

	}
}
